package com.dao;

import java.util.List;
import java.util.Map;

import com.entity.Scope;
import com.entity.Scope;

public interface ScopeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Scope record);

    int insertSelective(Scope record);

    Scope selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scope record);

    int updateByPrimaryKey(Scope record);
    
    public Scope checkUname(Map<String, Object> uname);

  	// 查询所有信息
  	public List<Scope> getAll(Map<String, Object> map);

  	// 查询所有信息
  	public List<Scope> getAll2(Map<String, Object> map);

  	// 获取条数
  	public int getCount(Map<String, Object> po);

  	// 分页
  	public List<Scope> getByPage(Map<String, Object> map);

  	// 分页
  	public List<Scope> getByPage2(Map<String, Object> map);

  	// 模糊查询并分页
  	public List<Scope> select(Map<String, Object> map);
    
   
}